import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

// 公共函数库
import Main from './common/common.js'
Vue.prototype.fun = Main;


// 引入全局API
import api from '@/common/vmeitime-http/'
import apiBasics from '@/common/vmeitime-http/api/basics.js'
import apiCoupe from '@/common/vmeitime-http/api/coupe.js'
import apiVipCentre from '@/common/vmeitime-http/api/vipCentre.js'
import apiToHos from '@/common/vmeitime-http/api/toHos.js'
// 我的案例api
import apiCase from '@/common/vmeitime-http/api/case.js'
Vue.prototype.$apiCase = apiCase
// 挂载api
Vue.prototype.$api = api
Vue.prototype.$apiBasics = apiBasics
Vue.prototype.$apiCoupe = apiCoupe
Vue.prototype.$apiVipCentre = apiVipCentre
Vue.prototype.$apiToHos = apiToHos



const app = new Vue({
	...App
})

app.$mount()
